package fristphase.submarinegame08complete;

import javax.swing.*;

public class Bomb extends SeaObject {
    public Bomb(int x,int y){
        super(20,20,x,y,3,"炸弹");

    }
    public void move(){
        y += speed;
    }

    public ImageIcon getImage(){
        return Images.bomb;
    }
    public boolean isOutOfBounds(){
        return y> World.HEIGHT;
    }
}
